package org.fund.base_service.converter;

import org.fund.base_service.domain.Position;
import org.fund.base_service.domain.vo.TransactionRecordVO;

/**
 * @Author Moro
 * @Date 2022/3/19 13:57
 * @title PositionConverter
 */
public class PositionConverter {
    public static Position fromTransactionToPosition(TransactionRecordVO record){
        Position position = new Position();
        position.setId(record.getPId());
        return position;
    }

}
